265. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2023-07-12 04:43:06 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

265.1 Files compared

#LocationFileLast Modified
1Porto v4.0.5/Theme Files/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/viewconfig.phtml2021-05-02 01:27:14 +0000
2Porto v4.0.6/Theme Files/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/viewconfig.phtml2021-05-02 01:27:14 +0000

265.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged180
Changed00
Inserted00
Removed00

265.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

265.4 Active regular expressions

No regular expressions were active.

265.5 Comparison detail

1 <?php 1 <?php
2     $porto_helper = $this->helper('Smartwave\Porto\Helper\Data'); 2     $porto_helper = $this->helper('Smartwave\Porto\Helper\Data');
3     $move_upsell = $porto_helper->getConfig('porto_settings/product/move_upsell'); 3     $move_upsell = $porto_helper->getConfig('porto_settings/product/move_upsell');
4     $move_addtolinks = $porto_helper->getConfig('porto_settings/product/move_addtolinks'); 4     $move_addtolinks = $porto_helper->getConfig('porto_settings/product/move_addtolinks');
5     $tab_fullbg = $porto_helper->getConfig('porto_settings/product/tab_full_background'); 5     $tab_fullbg = $porto_helper->getConfig('porto_settings/product/tab_full_background');
6     $uppsell_fullbg = $porto_helper->getConfig('porto_settings/product/move_upsell_full'); 6     $uppsell_fullbg = $porto_helper->getConfig('porto_settings/product/move_upsell_full');
7 ?> 7 ?>
8 <script type="text/javascript"> 8 <script type="text/javascript">
9 require([ 9 require([
10     'jquery' 10     'jquery'
11 ], function ($) { 11 ], function ($) {
12     $(document).ready(function(){ 12     $(document).ready(function(){
13         if(!($("body").hasClass("product-type-default") || $("body").hasClass("product-type-carousel") || $("body").hasClass("product-type-fullwidth") || $("body").hasClass("product-type-grid") || $("body").hasClass("product-type-sticky-right") || $("body").hasClass("product-type-wide-grid"))) { 13         if(!($("body").hasClass("product-type-default") || $("body").hasClass("product-type-carousel") || $("body").hasClass("product-type-fullwidth") || $("body").hasClass("product-type-grid") || $("body").hasClass("product-type-sticky-right") || $("body").hasClass("product-type-wide-grid"))) {
14     <?php if($move_upsell): ?> 14     <?php if($move_upsell): ?>
15         $(".product.media").after($(".block.upsell").detach()); 15         $(".product.media").after($(".block.upsell").detach());
16     <?php endif; ?> 16     <?php endif; ?>
17     <?php if($tab_fullbg):?> 17     <?php if($tab_fullbg):?>
18         var m = $('<div class="main-product-detail"/>'); 18         var m = $('<div class="main-product-detail"/>');
19         $('<div class="container"/>').html($(".move-product-tab").detach()).appendTo(m); 19         $('<div class="container"/>').html($(".move-product-tab").detach()).appendTo(m);
20         $("#maincontent").after(m); 20         $("#maincontent").after(m);
21         <?php if(!$move_upsell): ?> 21         <?php if(!$move_upsell): ?>
22         $(".main-product-detail").after($('<div class="container"/>').html($(".block.upsell").detach())); 22         $(".main-product-detail").after($('<div class="container"/>').html($(".block.upsell").detach()));
23         <?php endif; ?> 23         <?php endif; ?>
24     <?php endif;?> 24     <?php endif;?>
25     <?php if($uppsell_fullbg && !$move_upsell && !$tab_fullbg):?> 25     <?php if($uppsell_fullbg && !$move_upsell && !$tab_fullbg):?>
26         if($(".block.upsell").length > 0) { 26         if($(".block.upsell").length > 0) {
27             var u = $('<div class="main-upsell-product-detail"/>'); 27             var u = $('<div class="main-upsell-product-detail"/>');
28             $('<div class="container"/>').html($(".block.upsell").detach()).appendTo(u); 28             $('<div class="container"/>').html($(".block.upsell").detach()).appendTo(u);
29             $("#maincontent").after(u); 29             $("#maincontent").after(u);
30         } 30         }
31     <?php endif;?> 31     <?php endif;?>
32         } 32         }
33     <?php if($move_addtolinks): ?> 33     <?php if($move_addtolinks): ?>
34         $(".box-tocart .actions").after('<div class="moved-add-to-links"></div>'); 34         $(".box-tocart .actions").after('<div class="moved-add-to-links"></div>');
35         $(".product-social-links > .product-addto-links").appendTo(".moved-add-to-links"); 35         $(".product-social-links > .product-addto-links").appendTo(".moved-add-to-links");
36         $(".product-social-links > .action.mailto").appendTo(".product-addto-links"); 36         $(".product-social-links > .action.mailto").appendTo(".product-addto-links");
37     <?php endif; ?> 37     <?php endif; ?>
38     }); 38     });
39 }); 39 });
40 </script> 40 </script>